import Layout from '@/layout/index.vue'
const system = [
  {
    path: '/system',
    name: 'System',
    component: Layout,
    children: [
      {
        path: 'user',
        name: 'User',
        component: () => import('@/views/system/user'),
        meta: {
          system: '系统管理',
          title: '用户管理'
        }
      },
      {
        path: 'role',
        name: 'Role',
        component: () => import('@/views/system/role'),
        meta: {
          system: '系统管理',
          title: '角色管理'
        }
      },
      {
        path: 'menu',
        name: 'Menu',
        component: () => import('@/views/system/menu'),
        meta: {
          system: '系统管理',
          title: '菜单管理'
        }
      },
      {
        path: 'dept',
        name: 'Dept',
        component: () => import('@/views/system/dept'),
        meta: {
          system: '系统管理',
          title: '部门管理'
        }
      }
    ]
  }
]

export default system
